package main

import (
	"my_go_open/utils"
	"time"
)

func main() {
	wg := utils.NewWaitGroup(0)
	for i := 0; i < 10; i++ {
		wg.Add(1)
		go func(i int) {
			defer wg.Done()
			println(utils.TimeNowTimeNice())
			time.Sleep(3 * time.Second)
		}(i)
	}
	wg.Wait()
}
